using System;

namespace Sedna.Core.Messaging
{
	public delegate void ReceiveMessage(MessageEventArgs args);

	public class MessageEventArgs : EventArgs
	{
		private IMessage message;

		public MessageEventArgs(IMessage message)
		{
			this.message = message;
		}

		public IMessage Message
		{
			get { return message; }
		}
	}
}
